package bean;

import java.sql.Blob;
import java.util.Set;

public class User {
	private int id;
	private String username;
	private String name;
	private String password;
	private int visit;
	private String image;
	private Set<Message> messages;
	private Set<Article> articles;
	private Set<ArticleClass> articleClasses;
	public Set<ArticleClass> getArticleClasses() {
		return articleClasses;
	}
	public void setArticleClasses(Set<ArticleClass> articleClasses) {
		this.articleClasses = articleClasses;
	}
	private Set<Album> albums;
	public int getId() {
		return id;
	}
	public Set<Article> getArticles() {
		return articles;
	}
	public void setArticles(Set<Article> articles) {
		this.articles = articles;
	}
	public Set<Album> getAlbums() {
		return albums;
	}
	public void setAlbums(Set<Album> albums) {
		this.albums = albums;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}

	public int getVisit() {
		return visit;
	}
	public void setVisit(int visit) {
		this.visit = visit;
	}

	public Set<Message> getMessages() {
		return messages;
	}
	public void setMessages(Set<Message> messages) {
		this.messages = messages;
	}
	public String getImage() {
		return image;
	}
	public void setImage(String image) {
		this.image = image;
	}
	
	
}
